<template>
    <div>
        <zi @chuan='chuan' :val='val'></zi>
        
    </div>
</template>
<script>
import zi from '@/components/attrs/zi.vue'
export default {
    components:{
        zi
    },
    data() {
        return {
            val:''
        }
    },
    methods: {
        chuan(i){
            console.log(i);
            this.val=i
        }
    },
}
</script>